package com.xtaller.lazy.parameter;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version V1.0
 * @author: Taller
 * @date: 2019-04-23
 * @Description: 数据字典对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "数据字典对象")
public class DocDict {
    @ApiModelProperty(value = "字典名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "字典简写")
    @TableField(value = "shortName")
    private String shortName;

    @ApiModelProperty(value = "字典名称拼音首字母")
    @TableField(value = "py")
    private String py;

    @ApiModelProperty(value = "父id")
    @TableField(value = "parentId")
    private Long parentId;

    @ApiModelProperty(value = "字典编码")
    @TableField(value = "code")
    private String code;

    @ApiModelProperty(value = "备注信息")
    @TableField(value = "remark")
    private String remark;

    @ApiModelProperty(value = "排序号")
    @TableField(value = "orderNumber")
    private int orderNumber;
}
